package com.markerhub.exception.apiException.authenticationException;

import com.markerhub.constant.ApiExceptionCodes;
import com.markerhub.exception.apiException.AuthenticationException;

/**
 * @author : Ma Xiaofeng
 * @date : Created in 2021/11/15
 * @description: 重复注册异常
 */
public class MultiRegisterException extends AuthenticationException {

    public MultiRegisterException(String message) {
        super( ApiExceptionCodes.MULTI_REGISTER.getValue(),message);
    }

    public MultiRegisterException() {
        super(ApiExceptionCodes.MULTI_REGISTER.getValue(),ApiExceptionCodes.MULTI_REGISTER.getDesc());
    }
}
